﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Slippor.Common.PluginFramework
{
    public interface IHotkeyService
    {
        void RegHotkey(int command, IHotkeyExcutor excutor);
        void RemoveHotkey(int command);
        void UpdateHotkey(String hotKey, int command);
        void Check(int command);
        void RemoveAll();
        void RegAll();

        IntPtr Handle { get; set; }
    }

    public interface IHotkeyExcutor
    {
        String Hotkey { get; set; }
        void Excute();
    }
}
